package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient  // 启用 Nacos 注册发现
@EnableFeignClients(basePackages = "org.example.web.cilents") // 指定接口所在包  // 启用 Feign 客户端, 利用动态代理机制, 实现服务调用
public class Apptest {
    public static void main(String[] args) {
        SpringApplication.run(Apptest.class, args);
    }
}
